package com.tchintech.pay.delegate.fragment;

import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.tchintech.pay.R;
import com.tchintech.pay.frame.view.AppDelegate;
import com.tchintech.pay.view.XCRoundRectImageView;

import butterknife.Bind;

/**
 * Created by Administrator on 2017/7/11 0011.
 */

public class MyMessageFragmentDelegate extends AppDelegate {
    @Bind(R.id.tv_tele)
    TextView tv_tele;
    @Bind(R.id.tv_name)
    TextView tv_name;
    @Bind(R.id.real_card)
    RelativeLayout real_card;
    @Bind(R.id.rel_logout)
    RelativeLayout rel_logout;

    @Bind(R.id.real_change)
    RelativeLayout real_change;
    @Bind(R.id.real_up)
    RelativeLayout real_up;
    @Bind(R.id.real_tenant)
    RelativeLayout real_tenant;
    @Bind(R.id.real_bill)
    RelativeLayout real_bill;
    @Bind(R.id.real_code)
    RelativeLayout real_code;
    @Bind(R.id.tv_grades)
    TextView tv_grades;


    @Override
    public int getRootLayoutId() {
        return R.layout.account_center;
    }


    /**
     * 获取id对用的textview组件
     *
     * @param id
     * @return
     */
    public TextView getTextView(int id) {
        TextView tv = null;
        tv = get(id);
        return tv;
    }
}
